<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <title>
    <%= process.env.VUE_APP_NAME %>
  </title>
  <!-- require cdn assets css -->
  <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
    <link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
    <% } %>
    <style>
      @media screen and (min-width:2440px){
        .self-adaption-scroll{
        /* min-width: 1720px; */
      }
      }
      .self-adaption-scroll{
        height: 100vh;
        /* min-width: 1540px; */
      }
    </style>
</head>

<body id="main" class="self-adaption-scroll">
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
          Please enable it to continue.</strong>
    </noscript>
    <div id="popContainer" class="beauty-scroll">
      <div id="app"></div>
    </div>
  <!-- require cdn assets js -->
  <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
    <script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
    <% } %>
      <!-- built files will be auto injected -->

      <script>
        // var lazyFun;
        // function init(el, width, height) {
        //   var _el = document.getElementById(el);
        //   var hScale = (window.innerHeight / height)+0.12;
        //   var wScale = (window.innerWidth / width) ;
        //   _el.style.transform = "scale(" + wScale + "," + hScale + ")";
        // }
        // init("main", 1920, 1080);
        // window.onresize = function () {
        //   clearTimeout(lazyFun);
        //   lazyFun = setTimeout(function () {
        //     init("main", 1920, 1080);
        //   }, 600);
        // };
        //可以重写console对象，已达到不打印日志和告警的目的, 我们在项目的index.html中，添加以下代码
        // window.console = (function () {
        //   var c = {};
        //   c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile = c.clear = c.exception = c.trace = c.assert = function () { };
        //   return c;
        // })();


      </script>
</body>

</html>
